Error: An operation was attempted on something that is not a socket

Cause:

Windows Socket Corrupted

Resolution:

When trying to connect to the Internet, the following message (or similar) displays:
An operation was attempted on something that is not a socket

To resolve this error, remove and restore the Winsock registry entries.
Use the following steps to reset Winsock services:


Now the you should not get the socket error, and if error still persist reinstall the OS.

TKB:1116